
FIND_PACKAGE(OSG REQUIRED)
SET(TARGET_LABEL "example_")

SET(EXE_NAME testosg)

SET(TARGET_SRC
  CMakeLists.txt
  ../common/scene.h
  ../common/scene.cpp
  main.cpp
)

SET(LIB_INTERNALS
  BluePhysics
)

SET(LIB_DEPS
  OPENTHREADS_LIBRARY
  OSG_LIBRARY
  OSGDB_LIBRARY
  OSGUTIL_LIBRARY
  OSGMANIPULATOR_LIBRARY
  OSGVIEWER_LIBRARY
)

LINK_DIRECTORIES(${OSG_LIB_DIR} ${CMAKE_CURRENT_SOURCE_DIR})

INCLUDE_DIRECTORIES(
  ${CMAKE_CURRENT_BINARY_DIR}
  ${BP_SOURCE_DIR}/include
  ${OSG_INCLUDE_DIR}
)

PROJECT_ADD_EXE(${EXE_NAME} False)
